package com.intellagric.mapper;

import com.intellagric.pojo.AgtArticle;
import com.intellagric.pojo.AgtArticleExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AgtArticleMapper {
    long countByExample(AgtArticleExample example);

    int deleteByExample(AgtArticleExample example);

    int deleteByPrimaryKey(String id);

    int insert(AgtArticle record);

    int insertSelective(AgtArticle record);

    List<AgtArticle> selectByExample(AgtArticleExample example);

    AgtArticle selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") AgtArticle record, @Param("example") AgtArticleExample example);

    int updateByExample(@Param("record") AgtArticle record, @Param("example") AgtArticleExample example);

    int updateByPrimaryKeySelective(AgtArticle record);

    int updateByPrimaryKey(AgtArticle record);
}